import request from '@/utils/request'
// 水刺看板-车间信息
export function GetWorkshopInfoAPI(params) {
  return request({
    url: '/production/kanban/getWorkshopInfo',
    method: 'GET',
    params
  })
}

// 生产看板-线边库存情况
export function GetLineStockInfoAPI(params) {
  return request({
    url: '/production/kanban/getLineStockInfo',
    method: 'GET',
    params
  })
}

// 生产看板-生产中制令单
export function GetManufacturingOrderAPI(params) {
  return request({
    url: '/production/kanban/getManufacturingOrder',
    method: 'GET',
    params
  })
}

// 生产看板-待上线制令单
export function GetToBeOnlineAPI(params) {
  return request({
    url: '/production/kanban/getToBeOnline',
    method: 'GET',
    params
  })
}

// 生产看板-班组月产量统计
export function GetTeamsMonthOutputAPI(params) {
  return request({
    url: '/production/kanban/getTeamsMonthOutput',
    method: 'GET',
    params
  })
}

// 产量产线统计对比
export function GetProductionContrastAPI(params) {
  return request({
    url: '/production/kanban/getProductionContrast',
    method: 'GET',
    params
  })
}

// 生产看板-设备运行情况
export function GetEquipmentOperationAPI(params) {
  return request({
    url: '/production/kanban/getEquipmentOperation',
    method: 'GET',
    params
  })
}

// 班组近7天良品率
export function GetTeamGoodProductsAPI(params) {
  return request({
    url: '/production/kanban/getTeamGoodProducts',
    method: 'GET',
    params
  })
}

// 本月品质不良分布
export function GetMonthBadAPI(params) {
  return request({
    url: '/production/kanban/getMonthBad',
    method: 'GET',
    params
  })
}
